﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CLVisionEICS
{
    public class PcsDetailsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string TestName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TestResult { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TestValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string LowLimit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string UpLimit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PartSeq { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PinSeq { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TestType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OperatorName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string VerifyResult { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string VerifyOperatorName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string VerifyTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string DefectCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string BubbleValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TestFile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ImagePath { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string StrValue1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string StrValue2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string StrValue3 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string StrValue4 { get; set; }
    }

    public class EICSRoot
    {
        /// <summary>
        /// 
        /// </summary>
        public string GroupId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int GroupCompleted { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int GroupIndex { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string EventId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string EventName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string DeviceApp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Line { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string LineId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Station { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string StationId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Process { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ProcessId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string PanelId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Identifier { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OldIdentifier { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Timestamp { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Product { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Machine { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TestMode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TestType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TestTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int PcsSeq { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ImagePath { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string FilePath { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TestResult { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OperatorName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string OperatorTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string VerifyResult { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string VerifyOpName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string VerifyTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int ProductRow  { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int ProductColumn { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public List<PcsDetailsItem> PcsDetails { get; set; }
    }

}
